<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        .box {
            width: 440px;
            background-color: antiquewhite;
            margin: 100px auto;
        }

        ul {
            display: grid;
            grid-template-columns: repeat(4, 100px);
            justify-content: space-between;
            grid-row-gap: 10px;
            width: 100%;
        }

        li {
            list-style: none;
            height: 150px;
            width: 100px;
            line-height: 150px;
            background-color: aqua;
            text-align: center;
        }
    </style>
</head>

<body>
    <div class="box">
        <ul>

        </ul>
    </div>

    <script>
        let data = [
            '刘明', '李佳', '张三', '小陈', '刘明', '李佳', '张三', '小陈', '小陈', '刘明', '李佳'
        ]

        const ul = document.querySelector('ul')
        for (let i = 0; i < data.length; i++) {
            const li = document.createElement('li')
            ul.appendChild(li)
            li.innerHTML = data[i]
        }

    </script>
</body>

</html>